<if condition="$list['type'] eq 2"><!-- type eq one is index advs -->
    <div class="swiper-container" id="banner">
        <div class="swiper-wrapper">
            <volist name="list.res" id="lo" key="k">
                <div class="swiper-slide"> <img src="__ROOT__{$lo.path}"> </div>
            </volist>
        </div>
    </div>
<elseif condition="$list['type'] eq 1" />
    <img src="{$list.advspic|get_cover='path'}" alt="">
</if>